package com.hecn.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @author hecn
 * @site hecn.gitee.io
 * @discription
 */
@Component
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Hero {
    @Value("德玛西亚之力")
    private String name;
    @Value("1000")
    private double hp;
}
